import axios, { Axios } from "axios";
const context = "/deviceservice";

/**
 * 获取 PullTeaMototime 分页列表
 */
export function getPullTeaMototimePagination(data: any) {
  return axios.get(`${context}/pullTeaMototime/pagination`, { params: data });
}

/**
 * 获取 PullTeaMototime 所有数据
 */
export function getPullTeaMototimeAllList(data: any) {
  return axios.get(`${context}/pullTeaMototime/all`, { params: data });
}

/**
 * 获取 PullTeaMototime 详情
 */
export function getPullTeaMototimeDetailById(id: any) {
  return axios.get(`${context}/pullTeaMototime/${id}`, { params: { id } });
}

/**
 * 新增 PullTeaMototime
 */
export function addPullTeaMototime(data: any) {
  return axios.post(`${context}/pullTeaMototime`, data);
}

/**
 * 修改 PullTeaMototime
 */
export function updatePullTeaMototime(data: any) {
  return axios.put(`${context}/pullTeaMototime`, data);
}

/**
 * 删除 PullTeaMototime
 */
export function batchRemovePullTeaMototime(data: any) {
  return axios.post(`${context}/pullTeaMototime/batchRemove`, data);
}
